\hypertarget{class_register}{
\section{Register Class Reference}
\label{class_register}\index{Register@{Register}}
}


{\ttfamily \#include $<$register.hpp$>$}

Inheritance diagram for Register:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_register}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_register_ab1ff04430bcf0773e8721c0b8945bf3c}{contentChanged} (int \hyperlink{class_register_a0efceff63f0c995c31c65ac69a426ae0}{value})
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_register_a669b96861697fb8c04bce79f04390c66}{Register} ()
\begin{DoxyCompactList}\small\item\em Default Constructor. \item\end{DoxyCompactList}\item 
\hyperlink{class_register_a8968410c27a1798477562500e1b4c00f}{Register} (int content)
\item 
void \hyperlink{class_register_a69fa545b3c1464bde5af88b1e35d1aac}{setBit} (int bit)
\item 
void \hyperlink{class_register_ae1a80d34bf2d93ce31ed70ba37c6c901}{clearBit} (int bit)
\item 
bool \hyperlink{class_register_a9541de6b5120e09fd35575e3213fea65}{isSet} (int bit) const 
\item 
void \hyperlink{class_register_a14b8ad63028808a30f9b0eb048fe1c91}{setValue} (int \hyperlink{class_register_a0efceff63f0c995c31c65ac69a426ae0}{value})
\item 
int \hyperlink{class_register_a4efe6454922a6cb65ab5b5567928d857}{getValue} () const 
\item 
void \hyperlink{class_register_a3bfdae75d0d81ce8e2c83f37e079fd65}{clear} ()
\begin{DoxyCompactList}\small\item\em Clear the \hyperlink{class_register}{Register}. \item\end{DoxyCompactList}\item 
QString \hyperlink{class_register_a7438a96b181b395cc5c9ca7762ab3d4b}{toString} (int bit=-\/1) const 
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{class_register_a0efceff63f0c995c31c65ac69a426ae0}{value}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 13 of file register.hpp.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_register_a669b96861697fb8c04bce79f04390c66}{
\index{Register@{Register}!Register@{Register}}
\index{Register@{Register}!Register@{Register}}
\subsubsection[{Register}]{\setlength{\rightskip}{0pt plus 5cm}Register::Register ()\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}
\label{class_register_a669b96861697fb8c04bce79f04390c66}


Default Constructor. 



Definition at line 3 of file register.cpp.

\hypertarget{class_register_a8968410c27a1798477562500e1b4c00f}{
\index{Register@{Register}!Register@{Register}}
\index{Register@{Register}!Register@{Register}}
\subsubsection[{Register}]{\setlength{\rightskip}{0pt plus 5cm}Registerexplicit Register::Register (int {\em content})\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}
\label{class_register_a8968410c27a1798477562500e1b4c00f}
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.


\begin{DoxyParams}{Parameters}
\item[{\em content}]\end{DoxyParams}


Definition at line 9 of file register.cpp.



\subsection{Member Function Documentation}
\hypertarget{class_register_a3bfdae75d0d81ce8e2c83f37e079fd65}{
\index{Register@{Register}!clear@{clear}}
\index{clear@{clear}!Register@{Register}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}Register::clear ()}}
\label{class_register_a3bfdae75d0d81ce8e2c83f37e079fd65}


Clear the \hyperlink{class_register}{Register}. 



Reimplemented in \hyperlink{class_i_o_register_a9fc7772256ded1760416f9cb966cca0f}{IORegister}.



Definition at line 76 of file register.cpp.

\hypertarget{class_register_ae1a80d34bf2d93ce31ed70ba37c6c901}{
\index{Register@{Register}!clearBit@{clearBit}}
\index{clearBit@{clearBit}!Register@{Register}}
\subsubsection[{clearBit}]{\setlength{\rightskip}{0pt plus 5cm}void Register::clearBit (int {\em bit})}}
\label{class_register_ae1a80d34bf2d93ce31ed70ba37c6c901}


Reimplemented in \hyperlink{class_i_o_register_adc4f2b12feeb36e6a761d41955440989}{IORegister}.



Definition at line 32 of file register.cpp.

\hypertarget{class_register_ab1ff04430bcf0773e8721c0b8945bf3c}{
\index{Register@{Register}!contentChanged@{contentChanged}}
\index{contentChanged@{contentChanged}!Register@{Register}}
\subsubsection[{contentChanged}]{\setlength{\rightskip}{0pt plus 5cm}void Register::contentChanged (int {\em value})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{class_register_ab1ff04430bcf0773e8721c0b8945bf3c}
\hypertarget{class_register_a4efe6454922a6cb65ab5b5567928d857}{
\index{Register@{Register}!getValue@{getValue}}
\index{getValue@{getValue}!Register@{Register}}
\subsubsection[{getValue}]{\setlength{\rightskip}{0pt plus 5cm}int Register::getValue () const}}
\label{class_register_a4efe6454922a6cb65ab5b5567928d857}


Definition at line 70 of file register.cpp.

\hypertarget{class_register_a9541de6b5120e09fd35575e3213fea65}{
\index{Register@{Register}!isSet@{isSet}}
\index{isSet@{isSet}!Register@{Register}}
\subsubsection[{isSet}]{\setlength{\rightskip}{0pt plus 5cm}bool Register::isSet (int {\em bit}) const}}
\label{class_register_a9541de6b5120e09fd35575e3213fea65}


Definition at line 47 of file register.cpp.

\hypertarget{class_register_a69fa545b3c1464bde5af88b1e35d1aac}{
\index{Register@{Register}!setBit@{setBit}}
\index{setBit@{setBit}!Register@{Register}}
\subsubsection[{setBit}]{\setlength{\rightskip}{0pt plus 5cm}void Register::setBit (int {\em bit})}}
\label{class_register_a69fa545b3c1464bde5af88b1e35d1aac}


Reimplemented in \hyperlink{class_i_o_register_ae5564dcc4e65ef060f9561a9bbc284c1}{IORegister}.



Definition at line 18 of file register.cpp.

\hypertarget{class_register_a14b8ad63028808a30f9b0eb048fe1c91}{
\index{Register@{Register}!setValue@{setValue}}
\index{setValue@{setValue}!Register@{Register}}
\subsubsection[{setValue}]{\setlength{\rightskip}{0pt plus 5cm}void Register::setValue (int {\em value})}}
\label{class_register_a14b8ad63028808a30f9b0eb048fe1c91}


Reimplemented in \hyperlink{class_i_o_register_a6961dbcba3e9849eb904ceb3b617f8fd}{IORegister}.



Definition at line 57 of file register.cpp.

\hypertarget{class_register_a7438a96b181b395cc5c9ca7762ab3d4b}{
\index{Register@{Register}!toString@{toString}}
\index{toString@{toString}!Register@{Register}}
\subsubsection[{toString}]{\setlength{\rightskip}{0pt plus 5cm}QString Register::toString (int {\em bit} = {\ttfamily -\/1}) const}}
\label{class_register_a7438a96b181b395cc5c9ca7762ab3d4b}


Definition at line 86 of file register.cpp.



\subsection{Member Data Documentation}
\hypertarget{class_register_a0efceff63f0c995c31c65ac69a426ae0}{
\index{Register@{Register}!value@{value}}
\index{value@{value}!Register@{Register}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Register::value}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{class_register_a0efceff63f0c995c31c65ac69a426ae0}


Definition at line 94 of file register.hpp.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
\hyperlink{register_8hpp}{register.hpp}\item 
\hyperlink{register_8cpp}{register.cpp}\end{DoxyCompactItemize}
